﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace TumbaloSoft.Models
{
    public class PersonaJuridica: Persona
    {

   
        protected string razonSocial;
        [Required(ErrorMessage = "Se requiere ingresar la razón social")]
        [RegularExpression(@"^[A-Za-zñÑáéíóúÁÉÍÓÚ\s]+$", ErrorMessage = "Se requiere usar solo letras")]
       
        public string prRazonSocial
        {
            get { return razonSocial; }
            set { razonSocial = value; }
        }



    }
}